package com.example.spinning.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.sql.Timestamp;

/**
 * @author bayernxmt
 * @create 2020-07-19-20:00
 */
public class Drawing {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String batch_no;
    private String name;
    private String workshop;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Timestamp date;
    private String num_;
    private String machine_type;
    private Float weight;
    private Integer num_2;
    private Float designed_total_draft;
    private Integer designed_back_draft;
    private Float back_draft;
    private Integer strip_out_speed;
    private Integer low_speed;
    private Integer bucket_length;
    private Integer low_speed_length;
    private Integer time_delay;
    private Float rate;
    private String gauge_length;

    @Override
    public String toString() {
        return "Drawing{" +
                "id=" + id +
                ", batch_no='" + batch_no + '\'' +
                ", name='" + name + '\'' +
                ", workshop='" + workshop + '\'' +
                ", date=" + date +
                ", num_='" + num_ + '\'' +
                ", machine_type='" + machine_type + '\'' +
                ", weight=" + weight +
                ", num_2=" + num_2 +
                ", designed_total_draft=" + designed_total_draft +
                ", designed_back_draft=" + designed_back_draft +
                ", back_draft=" + back_draft +
                ", strip_out_speed=" + strip_out_speed +
                ", low_speed=" + low_speed +
                ", bucket_length=" + bucket_length +
                ", low_speed_length=" + low_speed_length +
                ", time_delay=" + time_delay +
                ", rate=" + rate +
                ", gauge_length='" + gauge_length + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBatch_no() {
        return batch_no;
    }

    public void setBatch_no(String batch_no) {
        this.batch_no = batch_no;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getWorkshop() {
        return workshop;
    }

    public void setWorkshop(String workshop) {
        this.workshop = workshop;
    }

    public Timestamp getDate() {
        return date;
    }

    public void setDate(Timestamp date) {
        this.date = date;
    }

    public String getNum_() {
        return num_;
    }

    public void setNum_(String num_) {
        this.num_ = num_;
    }

    public String getMachine_type() {
        return machine_type;
    }

    public void setMachine_type(String machine_type) {
        this.machine_type = machine_type;
    }

    public Float getWeight() {
        return weight;
    }

    public void setWeight(Float weight) {
        this.weight = weight;
    }

    public Integer getNum_2() {
        return num_2;
    }

    public void setNum_2(Integer num_2) {
        this.num_2 = num_2;
    }

    public Float getDesigned_total_draft() {
        return designed_total_draft;
    }

    public void setDesigned_total_draft(Float designed_total_draft) {
        this.designed_total_draft = designed_total_draft;
    }

    public Integer getDesigned_back_draft() {
        return designed_back_draft;
    }

    public void setDesigned_back_draft(Integer designed_back_draft) {
        this.designed_back_draft = designed_back_draft;
    }

    public Float getBack_draft() {
        return back_draft;
    }

    public void setBack_draft(Float back_draft) {
        this.back_draft = back_draft;
    }

    public Integer getStrip_out_speed() {
        return strip_out_speed;
    }

    public void setStrip_out_speed(Integer strip_out_speed) {
        this.strip_out_speed = strip_out_speed;
    }

    public Integer getLow_speed() {
        return low_speed;
    }

    public void setLow_speed(Integer low_speed) {
        this.low_speed = low_speed;
    }

    public Integer getBucket_length() {
        return bucket_length;
    }

    public void setBucket_length(Integer bucket_length) {
        this.bucket_length = bucket_length;
    }

    public Integer getLow_speed_length() {
        return low_speed_length;
    }

    public void setLow_speed_length(Integer low_speed_length) {
        this.low_speed_length = low_speed_length;
    }

    public Integer getTime_delay() {
        return time_delay;
    }

    public void setTime_delay(Integer time_delay) {
        this.time_delay = time_delay;
    }

    public Float getRate() {
        return rate;
    }

    public void setRate(Float rate) {
        this.rate = rate;
    }

    public String getGauge_length() {
        return gauge_length;
    }

    public void setGauge_length(String gauge_length) {
        this.gauge_length = gauge_length;
    }
}
